home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
accounts
/
dmgr104a.arj
/
GO.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-12-04
|
4KB
|
113 lines
ECHO OFF
CLS
IF NOT EXIST DEBTMGR.MNU GOTO ERROR
OPTION0
:START
CLS
TYPE DEBTMGR.MNU
Choice
IF ERRORLEVEL 56 GOTO WrongKey
IF ERRORLEVEL 55 GOTO Option7
IF ERRORLEVEL 54 GOTO Option6
IF ERRORLEVEL 53 GOTO Option5
IF ERRORLEVEL 52 GOTO Option4
IF ERRORLEVEL 51 GOTO Option3
IF ERRORLEVEL 50 GOTO Option2
IF ERRORLEVEL 49 GOTO Option1
IF ERRORLEVEL 28 GOTO WrongKey
IF ERRORLEVEL 27 GOTO Quit
IF ERRORLEVEL 0 GOTO WrongKey
GOTO Quit
REM ---------------------------------------------------------------
:Option1
CLS
ECHO Please stand by...
OPTION1
CLS
ECHO Loading Menu, please stand by...
GOTO Start
REM ---------------------------------------------------------------
:Option2
CLS
ECHO Please stand by...
OPTION2
CLS
ECHO Loading Menu, please stand by...
GOTO Start
REM ---------------------------------------------------------------
:Option3
CLS
ECHO Please stand by...
OPTION3
CLS
ECHO Loading Menu, please stand by...
GOTO Start
REM ---------------------------------------------------------------
:Option4
CLS
ECHO Please stand by...
OPTION4
CLS
ECHO Loading Menu, please stand by...
GOTO Start
REM ---------------------------------------------------------------
:Option5
CLS
ECHO Please stand by...
OPTION5
CLS
ECHO Loading Menu, please stand by...
GOTO Start
REM ---------------------------------------------------------------
:Option6
MD C:\DEBTMGR > NUL
CLS
ECHO.
ECHO Copying Debt Manager files to the Hard Drive.
ECHO Please stand by...
COPY *.* C:\DEBTMGR > NUL
GOTO Start
REM ---------------------------------------------------------------
:Option7
CLS
ECHO Loading program please stand by...
DEBTMGR
GOTO Start
REM ---------------------------------------------------------------
:WrongKey
ECHO.
ECHO »» That key is not a valid option ««
PAUSE
GOTO Start
REM ---------------------------------------------------------------
:Error
CLS
ECHO
ECHO ╒═════════════════════════════════════════════════════════╕
ECHO │ Error: Files(s) not found. │
ECHO ╞═════════════════════════════════════════════════════════╡
ECHO │ Reason(s): The most common reason for this condition is │
ECHO │ trying to access files that are on a different drive or │
ECHO │ files that are in a different directory. │
ECHO ├─────────────────────────────────────────────────────────┤
ECHO │ Corrective Action(s): If you are accessing files that │
ECHO │ are on a diskette in Drive A or Drive B, then make sure │
ECHO │ your current drive is set to the same drive where the │
ECHO │ diskette is. │
ECHO │ │
ECHO │ If you are accessing files that are on the hard drive, │
ECHO │ then make sure your current directory matches the │
ECHO │ directory that contains all the files that were copied │
ECHO │ from the distribution diskette. │
ECHO └─────────────────────────────────────────────────────────┘
ECHO.
ECHO.
GOTO End
:Escape
:Quit
ECHO.
ECHO.
ECHO Thank you for using Debt Manager
ECHO.
:End